package dataset.generation;

public class Segment {

	private String text;
	public String getText() {
		return text;
	}

	public int getOffset() {
		return offset;
	}

	private int offset;

	public Segment(String text,int offset){
		
		this.text = text;
		
		this.offset = offset;
	}
	
	public String toString(){
		
		return new String(offset + "-" + text);
	}
	
}
